From: Joey Hess Date: Fri, 24 Jan 2025 20:33:26 +0000 (-0400) Subject: another windows build fix X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~6^2~183^2~32 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3474aca3fc1619d1443725e9333340c0ba4ede80;p=git-annex.git another windows build fix --- diff --git a/Utility/Gpg.hs b/Utility/Gpg.hs index c7f5fe7644..5fe911528d 100644 --- a/Utility/Gpg.hs +++ b/Utility/Gpg.hs @@ -182,7 +182,7 @@ feedRead cmd params passphrase feeder reader = do withTmpFile (toOsPath "gpg") $ \tmpfile h -> do liftIO $ B.hPutStr h passphrase liftIO $ hClose h - let passphrasefile = [Param "--passphrase-file", File (fromOsPath tmpfile)] + let passphrasefile = [Param "--passphrase-file", File (fromRawFilePath (fromOsPath tmpfile))] go $ passphrasefile ++ params #endif where